home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c++-part1 / 4381 < prev    next >
Encoding:
Internet Message Format  |  1996-08-06  |  838 b 

  1. Path: usenet.cis.ufl.edu!caen!not-for-mail
  2. From: elpalmer@kecomp.coldwater.mi.us (Eric L. Palmer)
  3. Newsgroups: comp.lang.c++
  4. Subject: Wanted: routine to compare file time
  5. Date: 29 Jan 1996 22:51:02 GMT
  6. Organization: U of M
  7. Message-ID: <4ejj0m$j04@srvr1.engin.umich.edu>
  8. NNTP-Posting-Host: elpalmer@rep00498.reshall.umich.edu
  9. X-Newsreader: TIN [UNIX 1.3 950515BETA PL0]
  10.  
  11. I would like to examine the time a file was last accessed (in a
  12. POSIX-compliant unix environment) and compare that to the current time.
  13. I have tried getting st_atime with stat(), but the number doesn't seem to
  14. make sense.
  15.  
  16. Thanks,
  17.  
  18.  - Eric
  19.  
  20. -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
  21. Eric L. Palmer         | elpalmer@umich.edu,  elpalmer@kecomp.coldwater.mi.us
  22. U of M Computer Engin. | http://www-personal.engin.umich.edu/~elpalmer/
  23.